package MyList;

public class Test {
    public static void main(String[] args) {
        MyArrayList myArrayList = new MyArrayList();
        myArrayList.add(1);
        myArrayList.add(2);
        myArrayList.add(3);
        myArrayList.display();
        myArrayList.add(1,199);
        myArrayList.display();
        System.out.println(myArrayList.contains(199));
        myArrayList.set(1,11111);
        myArrayList.display();
    }
}
